<template>
  <el-dialog
      :visible.sync="visible"
      :width="width"
      :close-on-click-modal="false">
    <div slot="title" class="header-title" :style="{'background':'#2b7ffd','color':'#fff'}">
      <div style="padding:15px 20px;">{{ title }}</div>
    </div>
    <slot name="popup-context"></slot>
  </el-dialog>
</template>

<script>
export default {
  name: "NnmPopup",
  props: ['title'],
  data(){
    return{
      visible:true,
      width:'1000px',
    }
  }
}
</script>

<style scoped>

</style>